package com.dhcc.cdc.busi.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 挂号
 * 
 * @ClassName: CdcRegistrationEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-03-15 10:20:07
 */
@TableName("t_cdc_bs_registration") 
public class CdcRegistrationEntity extends DataEntity<CdcRegistrationEntity> {
	private static final long serialVersionUID = 1L;
	
	//就诊记录
	private Long episodeId;	
	//科室
	private Long regLocId;	
	//类别
	private Long busRegCateId;	
	//方式
	private Long busRegTypeId;	
	//预约途径
	private Long busRegRouteId;	
	//挂号人
	private Long regUserId;	
	//挂号日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date regDate;	
	//业务数据类型
	private Long dataId;	
	//是否有效
	private Integer isActive;	

	/**
	 * 设置：就诊记录
	 */
	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}
	/**
	 * 获取：就诊记录
	 */
	public Long getEpisodeId() {
		return episodeId;
	}
	/**
	 * 设置：科室
	 */
	public void setRegLocId(Long regLocId) {
		this.regLocId = regLocId;
	}
	/**
	 * 获取：科室
	 */
	public Long getRegLocId() {
		return regLocId;
	}
	/**
	 * 设置：类别
	 */
	public void setBusRegCateId(Long busRegCateId) {
		this.busRegCateId = busRegCateId;
	}
	/**
	 * 获取：类别
	 */
	public Long getBusRegCateId() {
		return busRegCateId;
	}
	/**
	 * 设置：方式
	 */
	public void setBusRegTypeId(Long busRegTypeId) {
		this.busRegTypeId = busRegTypeId;
	}
	/**
	 * 获取：方式
	 */
	public Long getBusRegTypeId() {
		return busRegTypeId;
	}
	/**
	 * 设置：预约途径
	 */
	public void setBusRegRouteId(Long busRegRouteId) {
		this.busRegRouteId = busRegRouteId;
	}
	/**
	 * 获取：预约途径
	 */
	public Long getBusRegRouteId() {
		return busRegRouteId;
	}
	/**
	 * 设置：挂号人
	 */
	public void setRegUserId(Long regUserId) {
		this.regUserId = regUserId;
	}
	/**
	 * 获取：挂号人
	 */
	public Long getRegUserId() {
		return regUserId;
	}
	/**
	 * 设置：挂号日期
	 */
	public void setRegDate(Date regDate) {
		this.regDate = regDate;
	}
	/**
	 * 获取：挂号日期
	 */
	public Date getRegDate() {
		return regDate;
	}
	/**
	 * 设置：业务数据类型
	 */
	public void setDataId(Long dataId) {
		this.dataId = dataId;
	}
	/**
	 * 获取：业务数据类型
	 */
	public Long getDataId() {
		return dataId;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
